home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 37 / Amiga Format CD37 (1999-02-16)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-03].iso / -screenplay- / shareware / invasionforce / source / includes / game_play1_protos.h < prev    next >
C/C++ Source or Header  |  1999-01-09  |  2KB  |  113 lines

  1. /* Prototypes for functions defined in
  2. game_play1.c
  3.  */
  4.  
  5. extern int control_flag;
  6.  
  7. extern char game_filepath[108];
  8.  
  9. extern char game_filename[108];
  10.  
  11. extern struct Menu * move_menu_strip;
  12.  
  13. extern struct Menu * vey_menu_strip;
  14.  
  15. extern struct Menu * prod_menu_strip;
  16.  
  17. extern int PathCost;
  18.  
  19. extern struct PLayer roster[9];
  20.  
  21. extern int player;
  22.  
  23. extern int turn;
  24.  
  25. extern BOOL display;
  26.  
  27. extern int cursx;
  28.  
  29. extern int cursy;
  30.  
  31. extern char id_filetag[5];
  32.  
  33. extern struct MinList unit_list;
  34.  
  35. extern struct BattleRecord battle;
  36.  
  37. extern char * prefix;
  38.  
  39. void set_display_offsets(int , int );
  40.  
  41. int count_units_at(int , int );
  42.  
  43. void add_city_to_player_map(int , struct City * );
  44.  
  45. void add_icon_to_player_map(int , struct Unit * );
  46.  
  47. BOOL seenby_subP(int , struct Unit * );
  48.  
  49. BOOL sub_seenP(int , struct Unit * );
  50.  
  51. void recon(struct City * );
  52.  
  53. void explore_hex(int , int , int , int , int );
  54.  
  55. void explore_at_hex(int , int , int , int , int );
  56.  
  57. void conquer_city(struct City * );
  58.  
  59. int hex_owner(int , int );
  60.  
  61. struct Unit * choose_defender(struct Unit * , int , int );
  62.  
  63. void attack_hex(struct Unit * , int , int );
  64.  
  65. void NCS_combat_mods(struct Unit * , struct Unit * , int * , int * );
  66.  
  67. void get_attack_values(short , int , int , short , int , int , int * , int * );
  68.  
  69. void create_initial_city(void);
  70.  
  71. void jumpstart_player(void);
  72.  
  73. void unit_name_request(struct City * , struct Unit * );
  74.  
  75. int do_cities_production(void);
  76.  
  77. void unit_status_bar(struct Unit * );
  78.  
  79. void hex_status_bar(int , int );
  80.  
  81. BOOL board_ship(struct Unit * , int , int );
  82.  
  83. int cargo_capacity(struct Unit * );
  84.  
  85. int cargo_weight(int );
  86.  
  87. void load_ship(struct Unit * );
  88.  
  89. void do_goto(struct Unit * );
  90.  
  91. int move_unit_dir(struct Unit * , enum Direction );
  92.  
  93. int move_unit_xy(struct Unit * , int , int );
  94.  
  95. void build_move_menu(void);
  96.  
  97. void build_survey_menu(void);
  98.  
  99. void build_production_menu(void);
  100.  
  101. void give_orders(struct Unit * , int , int , int , int );
  102.  
  103. struct Unit * shuffle_units(struct Unit * , BOOL );
  104.  
  105. void start_blinking_unit(struct Unit * );
  106.  
  107. void movement_mode(struct Unit ** );
  108.  
  109. void plot_cursor(int , int );
  110.  
  111. void move_cursor_dir(int );
  112.  
  113.